#ifndef ESTRUCTURA_SUPERBLOQUE
#define ESTRUCTURA_SUPERBLOQUE 1

typedef struct {
    unsigned int     cantidadInodos;
    unsigned int     cantidadBloques;
    unsigned int     bloquesLibres;
    unsigned int     inodosLibres;
    unsigned int     bloquesPorGrupo;
    unsigned int     inodosPorGrupo;
    unsigned short    tamanoInodo;
    unsigned int     tamanoBloque;
} superBloque;

typedef struct {
    unsigned int   blockBitmap;
    unsigned int   inodeBitmap;
    unsigned int   startInodeTable;
    unsigned short cantUnallocatedBlocks;
    unsigned short cantUnallocatedInodes;
    unsigned short cantDirectories;
} descriptorGrupo;

typedef struct {
    unsigned short mode;
    unsigned short uid;
    unsigned int size;
    unsigned short gid;
    unsigned short links_count;
    unsigned int blocks;
    unsigned int flags;
    unsigned int block;
    unsigned int generation;
    unsigned int file_acl;
    unsigned int dir_acl;
    unsigned int faddr;
    unsigned int osd2;
} tipoInodo;

#endif
